package cn.iocoder.yudao.module.eval.controller.admin.employee.vo;

import cn.idev.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 员工 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免员工导入有问题
public class EvalEmployeeImportExcelVO {

    @ExcelProperty("用户编号")
    private String userCode;

    @ExcelProperty("用户名称")
    @NotEmpty(message = "用户名称不能为空")
    private String name;

    @ExcelProperty("用户昵称")
    private String nickname;

    @ExcelProperty("部门名称")
    private String department;

    @ExcelProperty("用户邮箱")
    private String email;

    @ExcelProperty("手机号码")
    private String mobile;

    @ExcelProperty("用户性别")
    private String gender;

    @ExcelProperty("账号状态")
    private String status;

    @ExcelProperty("最后登录IP")
    private String lastLoginIp;

    @ExcelProperty("最后登录时间")
    private String lastLoginTime;

    @ExcelProperty("身份证号")
    private String idNumber;

    @ExcelProperty("工号")
    private String employeeCode;

}
